//---------------------------------------------------------------------------
#ifndef vSCopyRefH
#define vSCopyRefH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
#include "WebHelp.h"
//---------------------------------------------------------------------------
class TCopyRef : public TForm
{
    __published:	// Composants gérés par l'EDI
        TPanel *Panel1;
        TPanel *Panel2;
        TBitBtn *bbOk;
        TBitBtn *bbAnnuler;
        TLabel *Label1;
        TLabel *Label2;
        TEdit *eRef;
        TComboBox *cbRef;
    TLabel *lRefWebHelp;
        void __fastcall bbOkClick(TObject *Sender);
    private:	// Déclarations utilisateur
        TdmWebHelp * dmWebHelp;
        AnsiString m_asRefNom;
        int m_RefCode;
        int m_nLogiciel;
        int m_nVersion;

    private:
        AnsiString __fastcall GetRef_Nom(const int &nRefCode);
        void __fastcall AjouterListe( void );
        void __fastcall SupprimerRefCible( void );
        bool __fastcall VerifierRef(const AnsiString &asRef);
        
    public:		// Déclarations utilisateur
        __fastcall TCopyRef(const int &nRefCode,
                            const int &nLogiciel,
                            const int &nVersion,
                            TComponent* Owner);
        __fastcall ~TCopyRef();
        bool __fastcall VerifierAdresse( void );
};
//---------------------------------------------------------------------------
#endif
